package cn.tsvtc.shop.service;

import cn.tsvtc.shop.pojo.Order;
import com.alipay.api.AlipayApiException;

import java.util.Map;

public interface PayService {

    /**
     * 创建支付宝form表单
     * @param order
     * @return
     */
    public String createForm(Order order);


    /**
     * 验证
     * @param map
     * @param orderId
     * @return
     */
    public boolean validate(Map map,String orderId);

}
